package com.shopowner.service;



import com.shopowner.dto.DTO;
import com.shopowner.page.PageInfo;
import com.shopowner.entity.Shopowner;


public interface ShopownerService {
    /**
     * 查询全部店长
     * @return
     */
    public DTO<Shopowner> getAllShopowners() throws Exception;

    /**
     * 删除店长
     * @return
     */

    public DTO<Shopowner> deleteShopownerBySno(String sno) throws Exception;
    /**
     * 根据查询教练员
     * @return
     */
    public DTO<Shopowner> selectShopownerBySno(String sno) throws Exception;
    /**
     * 修改店长
     * @return
     */
    public DTO<Shopowner> updateShopownerBySno(Shopowner shopowner) throws Exception;
    /**
     * 增加店长
     * @return
     */
    public DTO<Shopowner> addShopowner(Shopowner shopowner) throws Exception;
    /**
     * 分页查询店长
     * @return
     */
    public DTO<Shopowner> getShopownerByPage(PageInfo pageInfo) throws Exception;

}
